// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import i18n from './assets/i18n'
import '@/assets/utils/skin'
import '@/assets/element.js'
import '@/assets/iconfont/iconfont.css'

Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  i18n,
  router,
  render: h => h(App)
}).$mount('#app')
// 禁用ctr+R代码，开发时注释，打包前解开
document.onkeydown = function (e) {
  var ev = window.event || e
  var code = ev.keyCode || ev.which
  if (event.ctrlKey && code === 82) {
    return false
  }
}
